package com.tk.select;

public class Demo11 {
    public static void main(String[] args) {
        int i = 0;
        //当 i==30 时，跳出 while 循环
        while (i < 100) {
            i++;
            System.out.print(i + " ");
            if (i == 30) {
                break;
            }
        }
        System.out.println();
        System.out.println("123");
    }
}
